package com.laicunba.pojo;

import java.util.Date;

import org.springframework.stereotype.Component;

import com.laicunba.annotation.MyColumn;
import com.laicunba.annotation.MyTable;

/**
 * 定时任务
 * 
 * @author why
 *
 */
@MyTable
@Component
public class TaskDO extends BaseDO {
	private Date timer;
	private Date runTime;
	private String status;
	private String type;
	private String param;
	@MyColumn(type = "text")
	private String result;
	private String userId;

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserId() {
		return userId;
	}

	public Date getTimer() {
		return timer;
	}

	public Date getRunTime() {
		return runTime;
	}

	public String getStatus() {
		return status;
	}

	public String getType() {
		return type;
	}

	public String getParam() {
		return param;
	}

	public String getResult() {
		return result;
	}

	public void setTimer(Date timer) {
		this.timer = timer;
	}

	public void setRunTime(Date runTime) {
		this.runTime = runTime;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public void setType(String type) {
		this.type = type;
	}

	public void setParam(String param) {
		this.param = param;
	}

	public void setResult(String result) {
		this.result = result;
	}

}
